package org.momo.rpc.springboot.starter.annotion;

import org.momo.rpc.springboot.starter.bootstrap.RpcServerStarter;
import org.momo.rpc.springboot.starter.bootstrap.RpcServiceRegistry;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用RPC框架-提供方初始化逻辑
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({RpcServerStarter.class, RpcServiceRegistry.class})
public @interface EnableRpcProvider {

}
